package com.quanyan.user.serviceFacade;

import com.quanyan.api.APIResponse;
import com.quanyan.common.Plugin.PageObj;
import com.quanyan.user.request.ReqNewsTopic;
import com.quanyan.user.request.ReqUserFollow;
import com.quanyan.user.response.ReqReleaseDynamic;
import com.quanyan.user.response.RespClubDynamicInfo;
import com.quanyan.user.response.RespNewsTopic;
import com.quanyan.user.response.RespUserFollow;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2016/11/30.
 */
public interface UserDynamicServiceFacade {

    /**
     * 查询话题
     * @param reqNewsTopic
     * @return
     */
    PageObj<List<RespNewsTopic>> findAllTopic(ReqNewsTopic reqNewsTopic);

    /**
     * 批量查询用户关注关系
     * @param reqUserFollow
     * @return
     */
    APIResponse<List<RespUserFollow>> queryUserFriendService(ReqUserFollow reqUserFollow);

    /**
     * 批量查询时候关注，返回为关注的id
     * @param uid 登录uid
     * @param lstFollowId
     * @return
     */
    APIResponse<List<Integer>> batchIsUserFollow (Integer uid ,List<Integer> lstFollowId);

    /**
     * 发布动态
     * @param reqReleaseDynamic
     * @return
     */
    APIResponse addDynamicDetail(ReqReleaseDynamic reqReleaseDynamic);

    /**
     * 获取俱乐部推荐动态
     * @param clubIdList
     * @return
     */
    Map<Integer,RespClubDynamicInfo> getClubRecommendDynamicList(List<Integer> clubIdList);


}
